/**   
 * Copyright © 2018 eSunny Info. Tech Ltd. All rights reserved.
 * 
 * @Package: com.wxsoft.java.demo002.operators 
 * @author: chenliang   
 * @date: 2018年8月28日 下午11:28:29 
 */
package com.wxsoft.java.demo002.operators;

/**
 * @author chenliang
 *
 */
public class data17 {
	/**
	 * @Description:TODO
	 * @author:chenliang
	 * @time:2018年8月28日 下午11:28:29
	 */
	public static void main(String[] args) {
		System.out.println(Integer.toBinaryString(32));
		System.out.println(Integer.toBinaryString(-32));
		System.out.println("32 >> 4:"+Integer.toBinaryString(32 >> 4));//2
		System.out.println(32 >> 4);
		System.out.println("-32 >> 4:"+Integer.toBinaryString(-32 >> 4));//?
		System.out.println(-32 >> 4);
		System.out.println("32 >>> 4:"+Integer.toBinaryString(32 >>> 4));//
		System.out.println(32 >>> 4);
		System.out.println("-32 >>> 4:"+Integer.toBinaryString(-32 >>> 4));
		System.out.println(-32 >>> 4);
		System.out.println("32 << 4:"+Integer.toBinaryString(32 << 4));
		System.out.println(32 << 4);
		System.out.println("-32 << 4:"+Integer.toBinaryString(-32 << 4));
		System.out.println(-32 << 4);
	}
}
